<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<base href="<%=basePath%>" >
</head>
<body>
	<script type="text/javascript" src="<%=basePath%>/scripts/system/user/info.js"></script>
	
	<div class="easyui-layout" fit="true">

		<div region="north" border="false" class="borsty-b">
			<div id="userEditPanel">
					<a id="editPersonalInfoBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="openUserWindow('edit')">编辑</a>
					<a id="closePersonalInfoBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="curTabClose()">关闭</a>
			</div>	
		</div>
		
		<div region="center" border="false">
			<div id="eUserDataGrid" fit="true"></div>
		</div>
		
	</div>
	
	<div id="eUserWindow" style="display:block;">
	
		<table border="0" width="100%" align="center" cellpadding="5px" cellspacing="5px">
			<tr>
				<td>用户名：</td>
				<td><input id="eUserLoginName" name="userLoginName" type="text" style="width:200px;" readonly="readonly"/></td>
				<td>密码：</td>
				<td>
				<input id="ePwd" name="ePwd" type="hidden"/>
				<input id="eUserPwd" name="userPwd" type="text" style="width:200px;" /></td>
			<tr>
				<td>姓名：</td>
				<td><input id="eUserName" name="userName" type="text" style="width:200px;" readonly="readonly"/></td>
				<td>编号：</td>
				<td><input id="eUserSn" name="userSn" type="text" style="width:200px;" readonly="readonly"/></td>
			</tr>
			<tr>
				<td>性别：</td>
				<td><span id="eUserSex" /></td>
				<td>电话：</td>
				<td><input id="eUserPhone" name="userPhone" type="text" style="width:200px;" /></td>
			</tr>
			<tr>
				<td>出生日期：</td>
				<td><span id="eUserBirthday" /></td>
				<td>入职时间：</td>
				<td><input id="eUserJobDate" name="eUserJobDate" type="text" style="width:200px;" readonly="readonly"/></td>
			</tr>
			<tr>
				<td>所属部门：</td>
				<td><input id="eUserDepart" name="eUserDepart" type="text" style="width:200px;" readonly="readonly"/></td>
				<td>所属角色：</td>
				<td><input id="eUserRoles" name="eUserRoles" type="text" style="width:200px;" readonly="readonly"/></td>
			</tr>
			<tr>
				<td>用户状态：</td>
				<td><input id="eUserStatus" name="eUserStatus" type="text" style="width:200px;" readonly="readonly"/></td>
				<td>是否锁定：</td>
				<td><input id="eUserLocked" name="eUserLocked" type="text" style="width:200px;" readonly="readonly"/></td>
			</tr>
			<tr>
				<td colspan="4" align="center">
				<input id="eUserMethodName" name="eUserMethodName" type="hidden" />
				<input id="eSubmitUserButton" name="eSubmitUserButton" type="button" style="width:80px; height:30px;" onclick="submitUser()" />
				</td>
			</tr>
		</table>
		
	</div>
</body>
</html>